package com.yic.module.mes.controller.admin.itemproduceroute.vo;

import com.yic.module.mes.controller.admin.itemproduce.vo.ItemProduceCreateReqVO;
import com.yic.module.mes.controller.admin.itemproducerouteextend.vo.ItemProduceRouteExtendRespVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 产品工艺路线 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ItemProduceRouteRespVO extends ItemProduceRouteBaseVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "2815")
    private Long id;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;

    @Schema(description = "产品生产信息", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long itemProduceId;

    @Schema(description = "工艺路线", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long routeId;

    @Schema(description = "工艺路线代码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String routeCode;

    @Schema(description = "工艺路线名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String routeName;

    @Schema(description = "默认工艺路线", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer defaultRoute;

    @Schema(description = "产品工艺路线详细配置列表", requiredMode = Schema.RequiredMode.REQUIRED)
    List<ItemProduceRouteExtendRespVO> extendList;

}
